#! /bin/bash

for filename in $(ls); do
	printf "$filename: "
	if [ -f $filename ];then
		echo "it's a file"
	elif [ -d $filename ];then
		echo "it's a dir"
	else
		echo "other files"
	fi
done






















